<template>
  <div class="GRiskReportDetail">
    <zyInfoPanel title="分析评估报告详情" :showUnfoldButton="false" class="baseInfo">
      <slot name="title">
        <div class="btnBox">
          <zy-button @click="download">下载</zy-button>
          <zy-button @click="toPut">推送</zy-button>
        </div>
      </slot>
      <div class="detail">
        <h1 class="risk_assmessment_name">{{detail.type_str}}</h1>
        <h2 class="risk_assmessment_obj_str">统计对象：{{detail.analysis_customer_name}}</h2>
        <h3 class="time_desc">统计时间：{{detail.out_times}}</h3>
        <p class="risk_assmessment_cont">
          {{detail.analysis_customer_name}}在{{detail.out_times}}期间，共接触可疑件{{detail.debious_num}}件。风险评估：{{detail.result}}</p>
      </div>
      <div class="btnBox">
        <zy-button @click="back">返回</zy-button>
      </div>
    </zyInfoPanel>
  </div>
</template>

<script>
	export default {
		name: "GRiskReportDetail",
		props: {},
		data() {
			return {
				detail: {}
			};
		},
		computed: {},
		watch: {},
		components: {},
		methods: {
			download() {
			},
			toPut() {
				this.$toRoutePath({
					path: "/notification_list/notification_detail",
					edit: true,
					query: {type: 'put', risk_assmessment_name: this.detail.type_str}
				});
			},
			back(isRefresh) {
				this.$blackRoute({
					path: '/risk_report_list',
					that: this,
					name: 'GRiskReportList',
					params: {isRefresh}
				})
			},
		},
		mounted() {
			this.detail=JSON.parse(this.$route.query.detail)||{}
		},
		created() {
		}
	}
</script>

<style scoped lang="less" src="@/style/government/riskAssessmentManage/reportDetail/index.less">

</style>
